package com.ycyoes.test.hollis.scene;
import java.time.Instant;
public class SecondOfNow {

        public static void main(String[] args) {
            // 获取当前时间的秒数
            long epochSecond = Instant.now().getEpochSecond();

            System.out.println("当前时间的秒数: " + epochSecond);
        }


}
